package priv.dajie.tzzq.spider.model;

public class SellingInfo {
    ItemInfo info;
    double price;
    int num;
    TradeType tradeType;

    public SellingInfo(ItemInfo info, double price, int num, TradeType tradeType) {
        this.info = info;
        this.price = price;
        this.num = num;
        this.tradeType = tradeType;
    }

    public ItemInfo getInfo() {
        return info;
    }

    public double getPrice() {
        return price;
    }

    public int getNum() {
        return num;
    }

    public TradeType getTradeType() {
        return tradeType;
    }

    @Override
    public String toString() {
        return "SellingInfo{" +
                "info=" + info +
                ", price=" + price +
                ", num=" + num +
                ", tradeType=" + tradeType +
                '}';
    }
}
